home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / ARGONET / PD / PROGRAMMING / DESKLIBC / SOURCES.ZIP / DeskLib / !DLSources / Libraries / LinkList / DLL / MkOs
Text File  |  1995-09-04  |  3KB  |  121 lines

  1.  
  2. ObjectFiles    =        \
  3.             o.AddToHead    \
  4.             o.AddToTail    \
  5.             o.InList    \
  6.             o.InsertA    \
  7.             o.InsertB    \
  8.             o.ListLength    \
  9.             o.Unlink    \
  10.  
  11.  
  12. LibName        =    LinkList
  13.  
  14.  
  15.  
  16. # Template makefile to make all .o files
  17. # for a DeskLib sublibrary. Compilation 
  18. # is for static linking inside a DLL.
  19.  
  20. # The macro $(ObjectFiles) should be set at the 
  21. # start of this file, to be a space-separated
  22. # list of object files.
  23. # This is done by 'Makatic'.
  24.  
  25. # The macro $(LibName) should also be set at the 
  26. # start of this file, to be the name of the 
  27. # DeskLib sublibrary.
  28.  
  29. # Compiler flags, These can be anything. 
  30. # All essential flags (eg CC -zM
  31. # are included in the macro $(CC).
  32. #
  33. CCFlags        =    -fahi $(CCExtra) -depend !Depend -throwback -D_DeskLib_$(LibName) -I,C:
  34. ASMFlags    =    -Stamp -NoCache -CloseExec -Quit $(ASMExtra)
  35.  
  36. CC        =    cc -c -zM -d_DLL -JC:DLLLib.,:mem $(CCFlags)
  37. ASM        =    ObjAsm $(ASMFlags)
  38.  
  39.  
  40. # -------------------------------------------------------
  41. # Everything below here should probably not be changed...
  42. # -------------------------------------------------------
  43.  
  44. # Here's what we want to make...
  45. #
  46. All:    $(ObjectFiles)
  47.  
  48.  
  49. # Rule for compiling C source code for a Straylight dynamically-linked library.
  50.  
  51. VPATH = @.^
  52.  
  53. .SUFFIXES:    .o .c .s
  54.  
  55. .c.o:
  56.     $(CC) -o $@ $<
  57.  
  58. .s.o:
  59.     $(ASM) $(ASMFlags) -from $< -to $@
  60.  
  61.  
  62.  
  63. # Dynamic dependencies:
  64. o.AddToHead:    ^.c.AddToHead
  65. o.AddToHead:    C:h.stdlib
  66. o.AddToHead:    C:h.stdio
  67. o.AddToHead:    DeskLib:h.LinkList
  68. o.AddToHead:    DeskLib:h.Core
  69. o.AddToHead:    C:h.stddef
  70. o.AddToHead:    C:DLLLib.h.dll
  71. o.AddToHead:    C:h.kernel
  72. o.AddToTail:    ^.c.AddToTail
  73. o.AddToTail:    C:h.stdlib
  74. o.AddToTail:    C:h.stdio
  75. o.AddToTail:    DeskLib:h.LinkList
  76. o.AddToTail:    DeskLib:h.Core
  77. o.AddToTail:    C:h.stddef
  78. o.AddToTail:    C:DLLLib.h.dll
  79. o.AddToTail:    C:h.kernel
  80. o.InList:    ^.c.InList
  81. o.InList:    C:h.stdlib
  82. o.InList:    C:h.stdio
  83. o.InList:    DeskLib:h.LinkList
  84. o.InList:    DeskLib:h.Core
  85. o.InList:    C:h.stddef
  86. o.InList:    C:DLLLib.h.dll
  87. o.InList:    C:h.kernel
  88. o.InsertA:    ^.c.InsertA
  89. o.InsertA:    C:h.stdlib
  90. o.InsertA:    C:h.stdio
  91. o.InsertA:    DeskLib:h.LinkList
  92. o.InsertA:    DeskLib:h.Core
  93. o.InsertA:    C:h.stddef
  94. o.InsertA:    C:DLLLib.h.dll
  95. o.InsertA:    C:h.kernel
  96. o.InsertB:    ^.c.InsertB
  97. o.InsertB:    C:h.stdlib
  98. o.InsertB:    C:h.stdio
  99. o.InsertB:    DeskLib:h.LinkList
  100. o.InsertB:    DeskLib:h.Core
  101. o.InsertB:    C:h.stddef
  102. o.InsertB:    C:DLLLib.h.dll
  103. o.InsertB:    C:h.kernel
  104. o.ListLength:    ^.c.ListLength
  105. o.ListLength:    C:h.stdlib
  106. o.ListLength:    C:h.stdio
  107. o.ListLength:    DeskLib:h.LinkList
  108. o.ListLength:    DeskLib:h.Core
  109. o.ListLength:    C:h.stddef
  110. o.ListLength:    C:DLLLib.h.dll
  111. o.ListLength:    C:h.kernel
  112. o.Unlink:    ^.c.Unlink
  113. o.Unlink:    C:h.stdlib
  114. o.Unlink:    C:h.stdio
  115. o.Unlink:    DeskLib:h.LinkList
  116. o.Unlink:    DeskLib:h.Core
  117. o.Unlink:    C:h.stddef
  118. o.Unlink:    C:DLLLib.h.dll
  119. o.Unlink:    C:h.kernel
  120.